package com.example.demo;

import org.springframework.stereotype.Component;

@Component
public class CommandLineRunner implements org.springframework.boot.CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        System.out.println("应用程序启动，获取一次统计数据");
    }

}
